package com.yunduan.management.service.impl;

import com.yunduan.management.entity.JobMember;
import com.yunduan.management.entity.Members;
import com.yunduan.management.mapper.JobMemberMapper;
import com.yunduan.management.mapper.MembersMapper;
import com.yunduan.management.service.JobMemberService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hy
 * @since 2020-11-27
 */
@Service
public class JobMemberServiceImpl extends ServiceImpl<JobMemberMapper, JobMember> implements JobMemberService {

    @Autowired
    private JobMemberMapper jobMemberMapper;

    @Override
    public List<Members> getMembersByProId(Integer id) {
        return jobMemberMapper.getMembersByProId(id);
    }
}
